from django.shortcuts import render
from django.http import JsonResponse


def index(request):
    context = {}
    return render(request, "dashboard.html", context)


def index2(request):
    context = {}
    return render(request, "dashboard.html", context)


def blog_list(request):
    data = {
        "username": "bob",
        "age": 21
    }
    return JsonResponse(data)
